﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace MotionControl.Core
{
    [DataContract]
    public class LightParam
    {
        [DataMember]
        public string name;
        [DataMember]
        public int value;
    }

    public enum PLCCommand
    {
        OneShot = 0,
        Continuous = 1,
        Camera = 2
    }

    [DataContract]
    public class PLCParam
    {
        [DataMember]
        public PLCCommand cmd;
    }

}
